package cn.uniqueinfo.dp.service;

import cn.uniqueinfo.dp.service.base.IBaseService;
import cn.uniqueinfo.dp.vo.FormButtonVO;
import cn.uniqueinfo.dp.vo.RoleVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author:朱元勋
 * @mail:395910063@qq.com
 * @date:2019-01-24 15:27:47
 * @description: 业务表单按钮设置
 */
public interface IFormButtonService extends IBaseService<FormButtonVO> {
    Integer deleteByFormName(String formName);

    List<FormButtonVO> findButtonsByFormName(String formName);

    List<FormButtonVO> findButtons(String formName, List<RoleVO> list);
}
